package com.whz.generic.serializer;

import lombok.experimental.UtilityClass;

/**
 * 序列化工具类
 *
 * @author whz
 */
@UtilityClass
class SerializationUtils {

    static final byte[] EMPTY_ARRAY = new byte[0];

    static boolean isEmpty(byte[] data) {
        return data == null || data.length == 0;
    }
}
